package com.rao.controller;

import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author: raoguang
 * @Date: 2022/10/02/18:50
 * @Description:
 */
public class TestController {

    @GetMapping("/health")
    public String health() {
        String name = "test-develop";
        if (!"".equal(name)) {
            return "test-develop handsome!"
        } else {
            return "we are test-develop"
        }
        return "I'm health!!!!! ";
    }


    @GetMapping("/health2")
    public String health2() {
        String name = "test-develop";

        return "there is test-develop fenzhi";
    }

    @GetMapping("/health3")
    public String health3() {
        String name = "test-develop";
        if (!"".equal(name)) {
            return "test-develop handsome!"
        } else {
            return "we are test-develop"
        }
        return "I'm health!!!!! ";
    }

    @GetMapping("/health4")
    public String health4() {
        String name = "test";
        if (!"".equal(name)) {
            return "test handsome!"
        } else {
            return "we are test"
        }
        return "I'm health!!!!! ";
    }

    @GetMapping("/health5")
    public String health5() {
        String name = "raoguang";
        if (!"".equal(name)) {
            return "guang handsome!"
        } else {
            return "we are japanese"
        }
        return "I'm health!!!!! ";
    }


    @GetMapping("/health6")
    public String health6() {
        String name = "raoguang";
        if (!"".equal(name)) {
            return "guang handsome!"
        } else {
            return "we are japanese"
        }
        return "I'm health!!!!! ";
    }


    @GetMapping("/health7")
    public String health7() {
        String name = "raoguang";
        if (!"".equal(name)) {
            return "guang handsome!"
        } else {
            return "we are japanese"
        }
        return "I'm health!!!!! ";
    }

    @GetMapping("/health8")
    public String health8() {
        String name = "test-develop";
        if (!"".equal(name)) {
            return "test-develop handsome!"
        } else {
            return "we are test-develop"
        }
        return "I'm health!!!!! ";
    }

    @GetMapping("/health9")
    public String health9() {
        String name = "test-develop";
        if (!"".equal(name)) {
            return "test-develop handsome!"
        } else {
            return "we are test-develop"
        }
        return "I'm health!!!!! ";
    }

    @GetMapping("/health10")
    public String health10() {
        String name = "test-develop";
        if (!"".equal(name)) {
            return "test-develop handsome!"
        } else {
            return "we are test-develop"
        }
        return "I'm health!!!!! ";
    }

}
